/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Negocio;

import Datos.FacturaClienteDB;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author Jorge
 */
public class Lista_fc {
    private ArrayList factClientes=new ArrayList();
        
    public void listar(int id) {
        try {
            FacturaClienteDB factCliDB = new FacturaClienteDB();
            setFactClie(factCliDB.listar(id));
        } catch (SQLException ex) {
            Logger.getLogger(Lista_ciudades.class.getName()).log(Level.SEVERE, null, ex);
        }
    }

    /**
     * @return the clientes
     */
    public ArrayList getFactClie() {
        return factClientes;
    }

    /**
     * @param factClientes the clientes to set
     */
    public void setFactClie(ArrayList factClientes) {
        this.factClientes = factClientes;
    }
    
}
